Average sentence length |
---|
16.7475 |
sentence length | percentage |
---|---|
2 | 0.0100 |
3 | 0.3900 |
4 | 1.8100 |
5 | 3.0400 |
6 | 4.0700 |
7 | 4.6300 |
8 | 5.3600 |
9 | 5.4300 |
10 | 5.5300 |
11 | 5.2200 |
12 | 4.7900 |
13 | 4.6600 |
14 | 4.5800 |
15 | 4.4200 |
16 | 4.0000 |
17 | 3.8800 |
18 | 3.5200 |
19 | 2.9900 |
20 | 3.0400 |
21 | 2.9300 |
22 | 2.4700 |
23 | 2.1700 |
24 | 2.0100 |
25 | 1.9900 |
26 | 1.7300 |
27 | 1.4300 |
28 | 1.4300 |
29 | 1.4300 |
30 | 1.1300 |
31 | 1.4000 |
32 | 0.8600 |
33 | 0.8200 |
34 | 0.8200 |
35 | 0.6400 |
36 | 0.7900 |
37 | 0.5700 |
38 | 0.5300 |
39 | 0.6000 |
40 | 0.3900 |
41 | 0.3300 |
42 | 0.3700 |
43 | 0.3600 |
44 | 0.2700 |
45 | 0.2700 |
46 | 0.3200 |
47 | 0.2100 |
48 | 0.1500 |
49 | 0.1600 |
50 | 0.0500 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters